<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>My JSP 'login.jsp' starting page</title>
	</head>

	<body>
		<form action="<%=basePath%>chat_login.action" method="post">
		填写你的客服名称<br/><input type="text" name="server.sname"/>
		<button type="submit">
			登录
		</button>
		</form>
	</body>
</html>
